package com.chd.driversystem.util.network.tools;

/**
 * Created by shawnfly on 17-5-3.
 */

public class HttpConstants {

    /*************************ParamsUtils*********************************/
    //上传文件参数参数设定
    public static final String TITLE = "TITLE";
    public static final String TYPE = "TYPE";
    public static final String FILENAME = "FILENAME";
    public static final String FILETYPE = "FILETYPE";
    public static final String FILEPATH = "FILEPATH";


    /*************************HttpAccess*********************************/
    //参数定义
    public static final String CLIENT_ERROR_STR = "请检查参数或网络";
    public static final int CLIENT_ERROR_CODE = -2;
    //访问地址
    public static final String LOGIN_URL = "http://45.64.112.160:8080/app/";

    /*************************HttpService*********************************/
    //参数
    public static final String EXTRA_PARAM1 = "com.chd.driversystem.service.extra.PARAM1";
    public static final String EXTRA_PARAM2 = "com.chd.driversystem.service.extra.PARAM2";
    public static final String EXTRA_PARAM3 = "com.chd.driversystem.service.extra.PARAM3";
    public static final String EXTRA_PARAM4 = "com.chd.driversystem.service.extra.PARAM4";
    public static final String RESULT_OK = "OK";
    public static final String RESULT_ERR = "ERR";

    // 登录活动
    public static final String ACTION_LOGIN = "com.chd.driversystem.service.action.LOGIN";
    // 注册活动
    public static final String ACTION_SIGNUP = "com.chd.driversystem.service.action.SIGNUP";
    //或得本队司机列表
    public static final String ACTION_USERLIST = "com.chd.driversystem.service.action.USERLIST";
    //获取里程记录活动
    public static final String ACTION_DRIVINGRECORD = "com.chd.driversystem.service.action.DRIVINGRECORD";
    //获取评价活动
    public static final String ACTION_EVALUATION = "com.chd.driversystem.service.action.EVALUATION";
    //依据userlist获得评价
    public static final String ACTION_EVALUATIONBYUSERLIST = "com.chd.driversystem.service.action.EVALUATIONBYUSERLIST";
    //获取当天油量信息活动
    public static final String ACTION_OILBYDAY = "com.chd.driversystem.service.action.OILBYDAY";
    //获取获取一个月的油量活动
    public static final String ACTION_OILBYMONTH = "com.chd.driversystem.service.action.OILBYMONTH";
    //获取获取当天驾驶操作活动
    public static final String ACTION_OPERATION = "com.chd.driversystem.service.action.OPERATION";

}
